<?php
include("../contents.php");
include("../security.php");
include("../settings.php");
include("../database.php");
include("../xml.php");
$doc=new XML(1);
// $contents=new Contents($_GET["name"]);
/*$doc->array2xml($contents->get_documents());
$doc->output("empty.xsl");*/
echo "<"."?xml version=\"1.0\"?".">";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <title>Administration</title>
    <link media="screen" rel="stylesheet" href="css/style.css" type="text/css" />
    <script language="JavaScript" type="text/javascript" src="js/rtf.js"></script>
  </head>

  <body>
  	<form>
  	  <input type="hidden" id="designfeld" value="Test" />
  	  <script language="JavaScript" type="text/javascript">
  	  	initrtf('designfeld', '<?php echo getsetting("production_url"); ?>/css/style.css', '#ffffff', 1, '100%', '200px');
  	  </script>
  	  <a href="javascript:saveContent()">Speichern</a>
  	  <a href="javascript:getSelection()">Selection</a>
  	</form>
  </body>
</html>